﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Atlass.Framework.Common.Log
{
    /// <summary>
    /// 任务执行日志
    /// </summary>
    public class JobExcuteDto
    {
        /// <summary>
        /// 任务id
        /// </summary>
        public string JobId { get; set; }
        /// <summary>
        /// 执行时间
        /// </summary>
        public DateTime ExcuteTime { get; set; }
        /// <summary>
        /// 任务耗时
        /// </summary>
        public double ElapsedTime { get; set; }

        /// <summary>
        /// 异常
        /// </summary>
        public Exception EX { get; set; }
        /// <summary>
        /// 执行结果 0-OK，1-失败
        /// </summary>
        public int ExcuteResult { get; set; }
    }
}
